
import MeasurePolygon from './polygon'
class Measure {
    constructor(oneGisCesium) {
        this.oneGisCesium = oneGisCesium;
        this.viewer = oneGisCesium.viewer;
        this.measurePolygon=new MeasurePolygon(oneGisCesium);
    }
    terrainPolygon(callback){
        console.log(22222)
        this.measurePolygon.terrainPolygon(callback);
    }

    clear(){
        this.measurePolygon.clear();
        
    }
}


export default Measure